Invoke(Delegate,Object[]) Method (VisualTool)
Executes the specified delegate, on the thread that owns the
VisualTool's underlying
ImageViewer, with the specified list of arguments.
'Declaration
Protected Overloads Function Invoke( _
ByVal As System.Delegate, _
ByVal ParamArray () As System.Object _
) As System.Object
Parameters
- method
- A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
- args
- An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
Return Value
The return value from the delegate being invoked, or null if the delegate has no return value.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5